	.file	1 "main.c"
	.section .mdebug.abi32
	.previous
	.globl	NIVEAU_DE_VERBOSITE
	.section	.sdata,"aw",@progbits
	.align	2
	.type	NIVEAU_DE_VERBOSITE, @object
	.size	NIVEAU_DE_VERBOSITE, 4
NIVEAU_DE_VERBOSITE:
	.word	1
	.rdata
	.align	2
$LC0:
	.ascii	".log\000"
	.align	2
$LC1:
	.ascii	"programme\000"
	.align	2
$LC2:
	.ascii	"Hello, world !\012\000"
	.align	2
$LC3:
	.ascii	"Lancement de l'assembleur MIPS.\012\000"
	.align	2
$LC4:
	.ascii	".l\000"
	.align	2
$LC5:
	.ascii	"-----------VISUALISATION DE LA LISTE DE LEXEME-------\012"
	.ascii	"\000"
	.align	2
$LC6:
	.ascii	"data/prototype_instruction_asm.txt\000"
	.align	2
$LC7:
	.ascii	"La compilation s'est deroulee correctement. Le compilate"
	.ascii	"ur ASM va maintenant se fermer...\012\000"
	.align	2
$LC8:
	.ascii	"Goodbye, world !\012\000"
	.text
	.align	2
	.globl	main
	.ent	main
main:
	.frame	$fp,40,$31		# vars= 16, regs= 2/0, args= 16, gp= 0
	.mask	0xc0000000,-4
	.fmask	0x00000000,0
	.set	noreorder
	.set	nomacro
	
	addiu	$sp,$sp,-40
	sw	$31,36($sp)
	sw	$fp,32($sp)
	move	$fp,$sp
	sw	$4,40($fp)
	sw	$5,44($fp)
	lw	$2,40($fp)
	nop
	blez	$2,$L2
	nop

	lw	$2,44($fp)
	nop
	addiu	$2,$2,4
	lw	$2,0($2)
	nop
	move	$4,$2
	lui	$2,%hi($LC0)
	addiu	$5,$2,%lo($LC0)
	jal	changer_extension_fichier
	nop

	sw	$2,28($fp)
	j	$L4
	nop

$L2:
	lui	$2,%hi($LC1)
	addiu	$4,$2,%lo($LC1)
	lui	$2,%hi($LC0)
	addiu	$5,$2,%lo($LC0)
	jal	changer_extension_fichier
	nop

	sw	$2,28($fp)
$L4:
	lw	$4,28($fp)
	jal	gestiondesmessages_initialisation
	nop

	li	$4,1			# 0x1
	jal	gestiondesmessages_ecritdebutligne
	nop

	li	$4,1			# 0x1
	lui	$2,%hi($LC2)
	addiu	$5,$2,%lo($LC2)
	jal	gestiondesmessages_ecriretexte
	nop

	li	$4,1			# 0x1
	jal	gestiondesmessages_ecritdebutligne
	nop

	li	$4,1			# 0x1
	lui	$2,%hi($LC3)
	addiu	$5,$2,%lo($LC3)
	jal	gestiondesmessages_ecriretexte
	nop

	lw	$4,40($fp)
	lw	$5,44($fp)
	jal	lire_argument_niveau_de_verbosite
	nop

	sw	$0,20($fp)
	lw	$2,44($fp)
	nop
	addiu	$2,$2,4
	lw	$2,0($2)
	nop
	move	$4,$2
	lui	$2,%hi($LC4)
	addiu	$5,$2,%lo($LC4)
	jal	changer_extension_fichier
	nop

	sw	$2,16($fp)
	lw	$2,44($fp)
	nop
	addiu	$2,$2,4
	lw	$2,0($2)
	nop
	move	$4,$2
	jal	recuperer_source_assembleur
	nop

	sw	$2,20($fp)
	move	$4,$0
	jal	gestiondesmessages_ecritdebutligne
	nop

	move	$4,$0
	lui	$2,%hi($LC5)
	addiu	$5,$2,%lo($LC5)
	jal	gestiondesmessages_ecriretexte
	nop

	lw	$4,20($fp)
	jal	visualiser_liste_lexeme
	nop

	lui	$2,%hi($LC6)
	addiu	$4,$2,%lo($LC6)
	jal	recuperer_instruction
	nop

	sw	$2,24($fp)
	lw	$4,24($fp)
	jal	visualiser_dictionnaire_instruction
	nop

	lw	$4,20($fp)
	lw	$5,24($fp)
	lw	$6,16($fp)
	jal	main_analysesyntaxique
	nop

	li	$4,1			# 0x1
	jal	gestiondesmessages_ecritdebutligne
	nop

	li	$4,1			# 0x1
	lui	$2,%hi($LC7)
	addiu	$5,$2,%lo($LC7)
	jal	gestiondesmessages_ecriretexte
	nop

	lw	$4,24($fp)
	jal	free
	nop

	lw	$4,20($fp)
	jal	liberer_liste_lexemes
	nop

	li	$4,42			# 0x2a
	jal	quarantedeuxgatos
	nop

	li	$4,1			# 0x1
	jal	gestiondesmessages_ecritdebutligne
	nop

	li	$4,1			# 0x1
	lui	$2,%hi($LC8)
	addiu	$5,$2,%lo($LC8)
	jal	gestiondesmessages_ecriretexte
	nop

	jal	gestiondesmessages_fermer
	nop

	lw	$4,28($fp)
	jal	free
	nop

	move	$2,$0
	move	$sp,$fp
	lw	$31,36($sp)
	lw	$fp,32($sp)
	addiu	$sp,$sp,40
	j	$31
	nop

	.set	macro
	.set	reorder
	.end	main
	.size	main, .-main
	.ident	"GCC: (GNU) 4.2.4"
